<?php defined('SYSPATH') or die('No direct script access.');

abstract class Controller_Base extends Controller
{
    protected $_title  = 'TeamDesk';
	protected $_layout = 'layout_tpl';
	
	public function print_template($title, $content)
	{
        $this->_layout = new View($this->_layout);

		$this->_layout->title       = $title.' - '.$this->_title;
		$this->_layout->content     = $content;
		
		$this->response->body($this->_layout);
	}

}
